<%--
  Created by IntelliJ IDEA.
  User: DELL
  Date: 2021/9/2
  Time: 22:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--<form action="rTest02" method="get">
    &lt;%&ndash;这里的name值必须和servlet中 req.getParameter("userName")里的参数 值相同&ndash;%&gt;
    姓名<input name="userName" type="text"> <br>
    密码<input name="userPassword" type="password"> <br>
    <button>登录</button><br>--%>
<form action="rTest02" method="post">
    <%--这里的name值必须和servlet中 req.getParameter("userName")里的参数 值相同--%>
    姓名<input name="userName" type="text"> <br>
    密码<input name="userPassword" type="password"> <br>
    <button>登录</button>
</form>
</body>
</html>
